﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace CommunicationProtocol.dto
{
    public class BaseObject
    {

        protected Object objectIdLock = new object();

        public BaseObject(short objectId, byte objectType, byte locationX, byte locationY)
        {
            ObjectId = objectId;
            ObjectType = objectType;
            LocationX = locationX;
            LocationY = locationY;
        }

        public short ObjectId { get; }
        public byte ObjectType { get; }
        public byte LocationX { get; }
        public byte LocationY { get; }
    }
}
